<!doctype html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7 ]> <html class="no-js ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]>    <html class="no-js ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]>    <html class="no-js ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
  <meta charset="utf-8">

  <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
       Remove this if you use the .htaccess -->
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

  <title>
      <g:layoutTitle default="Welcome to Visionary Software Solutions!" />
  </title>

  <meta name="description"
          content="This is the home page of Visionary Software Solutions, a new kind of software company" />
  <meta name="author" content="Nicholas Vaidyanathan" />

  <!-- Mobile viewport optimized: j.mp/bplateviewport -->
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <!-- put all CSS includes in separate template for easy modification -->
  <g:render template="/layouts/includes/css" />
  <g:javascript src="libs/modernizr-1.7.min.js" />
  <!-- Uncomment if you are specifically targeting less enabled mobile browsers
  <link rel="stylesheet" media="handheld" href="css/handheld.css?v=2">  -->
  <g:layoutHead />
</head>
<body>
  <div id="container">
    <header>
      <h1 class="siteTitle">
            <img id="logo"
               src="${resource(dir:'images',file:'logo.jpg')}"
               alt="Visionary Software Solutions logo" />
            Visionary Software Solutions
          </h1>
      <g:render template="/layouts/nav" />
    </header>
    <div id="main" role="main">
      <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
      </g:if>
      <div id="spinner" class="spinner" style="display:none;">
        <img src="${resource(dir:'images',file:'spinner.gif')}"
             alt="${message(code:'spinner.alt',default:'Loading...')}" />
      </div>
      <g:layoutBody />
    </div>
    <footer>
      <div id="grailsLogo">
        <a href="http://grails.org">
          <img src="${resource(dir:'images',file:'grails_logo.png')}"
               alt="Grails"
               />
          Built by Nicholas Vaidyanathan with Grails!
        </a>
      </div>
    </footer>
  </div> <!--! end of #container -->
  <!-- JavaScript at the bottom for fast page loading -->
  <!-- put all JS includes in separate template for easy modification -->
  <g:render template="/layouts/includes/javascript" />
  <script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-24058353-1']);
  _gaq.push(['_setDomainName', '.visionarysoftwaresolutions.com']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</body>
</html>